package com.mall.ware.exception;

public class NoStackException extends RuntimeException{
    private String skuName;
        public NoStackException(String skuName){
            super("当前["+skuName+"]没有库存");
            this.skuName = skuName;
        }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }
}
